<%-- 
    Document   : menuFuncionario
    Created on : 27/09/2011, 11:10:57
    Author     : 0433101
--%>

<%@page import="Exceptions.PrivilegioInsuficienteException"%>
<%@page import="Model.Usuario"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file = "autenticacaoFuncionario.jsp"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Sistema Controle de Reservas</title>
    </head>
    <body>
        <div id="message">${mensagem}</div>
        <div>Usuário conectado: <%=user.getLogin()%></div>
        <form method="post" action="MainAccessServlet">
            <input type="hidden" name="cmd" value="logoutProcessor"/>
            <input type="submit" value="Log-out"/>
        </form>
        
        <button type="button" onclick="location.href='editarUsuario.jsp'">Editar Perfil</button><br>
        <hr/>
        <div>Menu do Funcionário:</div>
        
        <a href="MainAccessServlet?cmd=preparaPesquisarEspaco&destino=reservar">Reservar Espaco</a><br>
        
        
    </body>
</html>
